package xyz.iguilty.workflow.enums;

import lombok.Getter;
import org.springframework.util.StringUtils;
import xyz.iguilty.workflow.anno.CirculationVariable;
import xyz.iguilty.workflow.core.service.AbstractActivity;
import xyz.iguilty.workflow.model.TaskForm;

import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;

/**
 * 日志类型
 */
public enum ProcessLog {
    START("UserAction_00","提交"),
    RESTART("UserAction_01","重新提交"),
    DEAL("UserAction_02", "处理"),
    PASS("UserAction_03","通过"),
    ROLLBACK("UserAction_04","驳回"),
    REJECT("UserAction_05","拒绝")
    ;

    /**
     * 类型
     */
    @Getter
    private final String logType;
    /**
     * 描述
     */
    @Getter
    private final String remark;

    ProcessLog(String logType, String remark) {
        this.logType = logType;
        this.remark = remark;
    }

}
